package com.my.lab.receiver;

import com.my.lab.activity.WonDieActivity;
import com.my.lab.service.WlanService;
import com.my.lab.service.WondieService;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class BootReceiver extends BroadcastReceiver{

	static final String ACTION = "android.intent.action.BOOT_COMPLETED";
	@Override
	public void onReceive(Context context, Intent intent) {
		if (intent.getAction().equals(ACTION)) {
			Intent i = new Intent(context, WondieService.class);
			context.startService(i);
			Intent it = new Intent(context, WlanService.class);
			context.startService(it);
		}
	}

}
